package com.wanyangproject.androidlearning.annotation;


/**
 * 用户列表
 */
@Table("user_table")
public class User {

    @Column("name")
    private String name;
    @Column("age")
    private int age;
    @Column("job")
    private String prefession;
    @Column("sex")
    private boolean isMan;
    @Column("phone")
    private int phone;
    @Column("password")
    private String pw;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPrefession() {
        return prefession;
    }

    public void setPrefession(String prefession) {
        this.prefession = prefession;
    }

    public boolean getIsMan() {
        return isMan;
    }

    public void setMan(boolean man) {
        isMan = man;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    public String getPw() {
        return pw;
    }

    public void setPw(String pw) {
        this.pw = pw;
    }
}
